package com.prs.crm.dao.flow;

import java.util.List;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.approval.Application;
import com.prs.crm.domain.assets.AssetsLingYong;
import com.prs.crm.domain.assets.AssetsRevert;
import com.prs.crm.domain.assets.AssetsScrap;
import com.prs.crm.domain.ca.work.ArticleTook;
import com.prs.crm.domain.ca.work.PurchaseApply;
import com.prs.crm.domain.document.Draft;
import com.prs.crm.domain.flow.WorkFlow;
import com.prs.crm.domain.flow.WorkFlowAndPerson;
import com.prs.crm.domain.receipt.ReceiptRegister;
import com.sun.corba.se.spi.orbutil.threadpool.Work;

public interface WorkFlowAndPersonDao extends BaseDao<WorkFlowAndPerson>{
	List<WorkFlowAndPerson> getWorkFlowAndPerson(WorkFlow workFlow,PurchaseApply purchaseApply);
	List<WorkFlowAndPerson> getWorkFlowAndPersons(WorkFlow workFlow,ReceiptRegister receiptRegister);
	List<WorkFlowAndPerson> getWorkFlowAndPersonByDraft(WorkFlow workFlow,Draft draft);
	List<WorkFlowAndPerson> getWorkFlowAndPersonByApplication(WorkFlow workFlow,Application application);
	List<WorkFlowAndPerson> getWorkFlowAndPersonByArticleTook(WorkFlow workFlow,ArticleTook articleTook);
	List<WorkFlowAndPerson> getWorkFlowAndPersonByAssetsLingYong(WorkFlow workFlow,AssetsLingYong assetsLingYong);
	List<WorkFlowAndPerson> getWorkFlowAndPersonByAssetsRevert(WorkFlow workFlow,AssetsRevert assetsRevert);
	List<WorkFlowAndPerson> getWorkFlowAndPersonByAssetsScrap(WorkFlow workFlow,AssetsScrap assetsScrap);
}
